package com.chen.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.chen")
@MapperScan("com.chen.mapper")//使用@MapperScan注解扫描mapper接口
public class JouranldemoApplication {
	public static void main(String[] args) {
		SpringApplication.run(JouranldemoApplication.class, args);
	}
}
